projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c79cf9
)
Example proxy config
author
Kornel Lesiński
<kornel@geekhood.net>
Thu, 26 Jan 2017 23:28:56 +0000
(23:28 +0000)
committer
Kornel Lesiński
<kornel@geekhood.net>
Thu, 26 Jan 2017 23:29:10 +0000
(23:29 +0000)
#3596
src/doc/config.md
patch
|
blob
|
history
diff --git
a/src/doc/config.md
b/src/doc/config.md
index c542af429eb392530f0d0eacb3dc8babe3a4325e..798a25da68e21f4c5c564438d7eb7c64cbc2118b 100644
(file)
--- a/
src/doc/config.md
+++ b/
src/doc/config.md
@@
-79,7
+79,8
@@
index = "..." # URL of the registry index (defaults to the central repository)
token = "..." # Access token (found on the central repo’s website)
[http]
-proxy = "..." # HTTP proxy to use for HTTP requests (defaults to none)
+proxy = "host:port" # HTTP proxy to use for HTTP requests (defaults to none)
+ # in libcurl format, e.g. "socks5h://host:port"
timeout = 60000 # Timeout for each HTTP request, in milliseconds
cainfo = "cert.pem" # Path to Certificate Authority (CA) bundle (optional)